package com.yuxi.searchExt;

import com.yuxi.model.Admin;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.yuxi.search.AdminSearch;
import lombok.experimental.Accessors;


/**
*    @author sunke
*    @Date 2023-10-13 10:05:02
*    @description AdminSearchExt      系统用户
*/
@Data
@Accessors(chain = true)
@ApiModel("系统用户AdminSearchExt")
public class AdminSearchExt extends AdminSearch<AdminSearchExt> {

    @ApiModelProperty("手机号码Eq")
    private String phoneEq;

    public AdminSearchExt setPhoneEq(String phoneEq) {
        this.phoneEq = phoneEq;
        setEqualField(Admin.PHONE,phoneEq);
        return this;
    }

    public static AdminSearchExt getInstance() {
        return new AdminSearchExt();
    }


    @Override
    public AdminSearchExt getSubThis() {
        return this;
    }

}

